placesview: properly recover from cancellation
authorChristian Kellner <christian@kellner.me>
Sun, 4 Sep 2016 13:28:11 +0000 (15:28 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 9 Sep 2016 20:55:47 +0000 (16:55 -0400)
commit0e5b0b75c591e91e5bd4af401660b5dd0bb1d020
tree407b6b9ec72c8117ebda210c7516d264793bccca
parent3ed25941ac80a4630b5c25a420307f9562a59ece
placesview: properly recover from cancellation

The current code wrongly assumes that cancellation can only happen
as a result widget finalization, and consequentially does not
properly recover from it. Therefore if the operation is cancelled
as a result of user interaction, the entry is will stay disabled
and the spinner will keep spinning. This is fixed by removal of
the early bail out in case of cancellation.

https://bugzilla.gnome.org/show_bug.cgi?id=764979
gtk/gtkplacesview.c